<template>
	<view class="out"> 
		<input type="text" :value="iptValue" @blur="onblur" @focus="onfocus"/>
	</view>
</template>

<script setup>
import {ref} from 'vue'
const iptValue = ref("")
// function onblur(e){
// 	console.log(e)
// }
function onfocus(e){
	console.log(e)
}
</script>

<style lang="scss" scoped>
.out{
	padding: 0 10px;
	top: 40px;
	input{
		border:1px solid #eee;
	}
}    
</style>
